import { POST } from "@/services/request.js";


export default {
    addressAdd(data = {}) {
        return POST({
            url: "address/add",
            params: data
        })
    },
    addressIndex(data = {}) {
        return POST({
            url: "address/index",
            params: data
        })
    },
    addressInfo(data = {}) {
        return POST({
            url: "address/info",
            params: data
        })
    },
    addressEdit(data = {}) {
        return POST({
            url: "address/edit",
            params: data
        })
    },
    addressDel(data = {}) {
        return POST({
            url: "address/del",
            params: data
        })
    },
    addressCheck(data = {}) {
        return POST({
            url: "address/check",
            params: data
        })
    },
    addressOder(data = {})
    {
        return POST({
            url: "address/order",
            params: data
        })  
    }
}